<div id="content">
    <div id="pro_info">
        <h1 class="title"><?php echo $lan['temp_name'] . ' ' . $data['data_1']['cat_name'] . ' S-' . $data['data_1']['id'] ?></h1>
        <?php
        new temp_view($lan, '', '', $data['data_1']['id']);
        ?>
        <div id="info_pro">
            <div id="tit">
                <?php echo $lan['temp_name'] . ' ' . $data['data_1']['cat_name'] . ' S-' . $data['data_1']['id'] ?>
                <p>Ngày đăng: 3/2/2015 - Lượt xem : 0</p>
            </div>
            <p><?php echo base64_decode($data['data_1']['temp_dis']) ?></p><br/>
            <p class="Price">Giá : <?php echo number_format((double) $data['data_1']['price'], 3, '.', '.') ?> VNĐ</p>
            <?php if (!empty($data['data_1']['zip_temp'])) { ?>
                <a href="<?php echo URL . 'demo/' . $data['data_1']['id'] ?>"><div id="demo" class="But"><?php echo $lan['demo'] ?></div></a>
            <?php } ?>
            <a href="<?php echo URL . 'dat-hang/' . $data['data_1']['id'] ?>"><div class="But"><?php echo $lan['buy'] ?></div></a>
        </div>
    </div>
    <div class="related_pro">
        <div class="tab">
            <h1 title="T_1" class="act"><?php echo $lan['comment_tit'] ?></h1>
            <h1 title="T_2"><?php echo $lan['temp_more'] ?></h1>
            <div class="clear"></div>
            <div class="tab_con">
                <div id="T_1" class="tab_c con_act">
                    <div id="comment">
                        <?php
                        foreach ($data['comment'] as $value) {
                            ?>
                            <div class="com">
                                <h4><?php echo $value['com_email'] ?></h4>
                                <p><?php echo base64_decode($value['com_con']); ?></p>
                            </div>
                            <?php
                        }
                        ?>
                    </div>
                    <?php
                    new tbl_add('comment', $lan, '', array('temp_id' => $data['data_1']['id']), array('temp_id' => 1));
                    ?>

                </div>
                <div id="T_2" class="tab_c">
                    <?php
                    new temp_view($lan, 4, $data['data_1']['id_cat'], '', 4);
                    ?>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>

